Vcenter ResourcePool CreateSpec

Vcenter ResourcePool CreateSpec
Vcenter ResourcePool CreateSpec

The Vcenter ResourcePool CreateSpec schema contains information used to create a resource pool, see POST /vcenter/resource-pool.

This schema was added in vSphere API 7.0.0.0.

JSON Example
{
    "name": "string",
    "parent": "string",
    "cpu_allocation": {
        "reservation": 0,
        "expandable_reservation": false,
        "limit": 0,
        "shares": {
            "level": "string",
            "shares": 0
        }
    },
    "memory_allocation": {
        "reservation": 0,
        "expandable_reservation": false,
        "limit": 0,
        "shares": {
            "level": "string",
            "shares": 0
        }
    }
}
string
name
Required

Name of the resource pool.

This property was added in vSphere API 7.0.0.0.

string
parent
Required

Parent of the created resource pool.

This property was added in vSphere API 7.0.0.0.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: ResourcePool. When operations return a value of this schema as a response, the property will be an identifier for the resource type: ResourcePool.

cpu_allocation
Optional

Resource allocation for CPU.

This property was added in vSphere API 7.0.0.0.

if missing or null or empty, use the default CPU allocation specification.

memory_allocation
Optional

Resource allocation for memory.

This property was added in vSphere API 7.0.0.0.

if missing or null or empty, use the default memory allocation specification.